package com.zzzzzz.topic.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zzzzzz.topic.dao.CategoryDao;
import com.zzzzzz.topic.model.Category;

@Service("categoryService")
public class CategoryServiceImpl implements CategoryService{
	@Resource
	private CategoryDao categoryDao;
	
	public Category findById(String id) {
		return categoryDao.findById(id);
	}
	
	public Category findByLb(String lb) {
		return categoryDao.findByLb(lb);
	}
	
}
